gdk/wayland: Don't remap non-subsurface as subsurface
authorMatthias Clasen <mclasen@redhat.com>
Sun, 19 Aug 2018 01:15:28 +0000 (01:15 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 19 Aug 2018 01:26:20 +0000 (01:26 +0000)
commitcd40ec22001c18fb7706a0c5a3588d93a8031d16
treef2a1aa6240b22806dcc03cb0f0d1ac5279fadd0f
parent62b887e064b76c37ebfcc615a3137888cd682ef5
gdk/wayland: Don't remap non-subsurface as subsurface

Let's just use the fact that a window was mapped as a subsurface to
remap it above another transient parent instead of relying on the more
complicated 'should-map-as-subsurface' helper function.
gdk/wayland/gdksurface-wayland.c